import http from '@/api/request';

export const watchTask = () => {
  return http.request({
    method: 'GET',
    url: '/app/task/list',
  });
};

export const delTask = (id: number) => {
  return http.request({
    method: 'POST',
    url: '/app/task/del',
    data: { id: id },
  });
};
